package com.centit.airplaneinfo_db.dao;

import com.centit.airplaneinfo_db.po.DbOldInfoGcwtl;
import com.centit.framework.core.dao.CodeBook;
import com.centit.framework.jdbc.dao.BaseDaoImpl;
import org.springframework.stereotype.Repository;

import java.util.HashMap;
import java.util.Map;

@Repository
public class DbOldInfoGcwtlDao extends BaseDaoImpl<DbOldInfoGcwtl, String> {

    @Override
    public Map<String, String> getFilterField() {
        if( filterField == null){
            filterField = new HashMap<String, String>();

            filterField.put("recId" , CodeBook.EQUAL_HQL_ID);
            filterField.put("recordId" , CodeBook.EQUAL_HQL_ID);
            filterField.put("tableType" , CodeBook.EQUAL_HQL_ID);
            filterField.put("dataType" , CodeBook.EQUAL_HQL_ID);
            filterField.put("dataTypeIn" , " DATA_TYPE in (:dataTypeIn) ");

        }
        return filterField;
    }


}
